package cn.tedu._06article.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum code
{
    SUCCESS(10100, "成功"),
    FAILED(10200, "失败"),
    USERNAME_PASSWORD_ERROR(10300, "用户名或密码错误"),
    NOT_LOGIN(10400, "用户未登录"),
    VALIDATED_ERROR(10500, "数据验证失败"),
    USERNAME_EXISTS(10600, "用户名已存在");
    private Integer status;
    private String message;

}
